import { createApp } from 'vue'
import App from './App.vue'
import { createPinia } from 'pinia'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'//elementPlus图标
import {router} from "@/router";
import "@/permission"

const app = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) app.component(key, component)//注册elementPlus图标
app.use(router)
app.use(createPinia())
app.mount('#app')
